import 'package:flutter/cupertino.dart';
import 'package:schoollifedemo/commonwidget/common_base_widget.dart';

class CircleEmptyWidget extends BaseStatelessWidget {
  final double? width;
  final double? height;
  final Widget _widget;
  final double radius;
  final Color insideColor;

  const CircleEmptyWidget(
    this._widget, {
    Key? key,
    this.width,
    this.height,
    this.radius = 20,
    this.insideColor = const Color(0xFFD0E7FF),
  }) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Container(
      width: width,
      height: height,
      decoration: BoxDecoration(
        borderRadius: BorderRadius.circular(radius), // 圆角度
        color: insideColor,
      ),
      child: _widget,
    );
  }
}
